﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WantMeetInfo.aspx.cs" Inherits="WantMeetInfo" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无锡校园人才网-招聘会</title>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin: 0 auto; border: 1px solid #C4C4C4; background-color: #F8F8F8;">
            <asp:FormView ID="FormView1" runat="server" CellPadding="5" 
                DataKeyNames="wmiid" DataSourceID="SqlDataSource1" HorizontalAlign="Center" Height="200px" Width="225px">
                <EditItemTemplate>
                    wmiid:
                <asp:Label ID="wmiidLabel1" runat="server" Text='<%# Eval("wmiid") %>' />
                    <br />
                    wmititle:
                <asp:TextBox ID="wmititleTextBox" runat="server"
                    Text='<%# Bind("wmititle") %>' />
                    <br />
                    wmiadd:
                <asp:TextBox ID="wmiaddTextBox" runat="server" Text='<%# Bind("wmiadd") %>' />
                    <br />
                    wmid:
                <asp:TextBox ID="wmidTextBox" runat="server" Text='<%# Bind("wmid") %>' />
                    <br />
                    wmiinfo:
                <asp:TextBox ID="wmiinfoTextBox" runat="server" Text='<%# Bind("wmiinfo") %>' />
                    <br />
                    wmidate:
                <asp:TextBox ID="wmidateTextBox" runat="server" Text='<%# Bind("wmidate") %>' />
                    <br />
                    wmname:
                <asp:TextBox ID="wmnameTextBox" runat="server" Text='<%# Bind("wmname") %>' />
                    <br />
                    <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True"
                        CommandName="Update" Text="更新" />
                    &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server"
                        CausesValidation="False" CommandName="Cancel" Text="取消" />
                </EditItemTemplate>
                <InsertItemTemplate>
                    wmititle:
                <asp:TextBox ID="wmititleTextBox" runat="server"
                    Text='<%# Bind("wmititle") %>' />
                    <br />
                    wmiadd:
                <asp:TextBox ID="wmiaddTextBox" runat="server" Text='<%# Bind("wmiadd") %>' />
                    <br />
                    wmid:
                <asp:TextBox ID="wmidTextBox" runat="server" Text='<%# Bind("wmid") %>' />
                    <br />
                    wmiinfo:
                <asp:TextBox ID="wmiinfoTextBox" runat="server" Text='<%# Bind("wmiinfo") %>' />
                    <br />
                    wmidate:
                <asp:TextBox ID="wmidateTextBox" runat="server" Text='<%# Bind("wmidate") %>' />
                    <br />
                    wmname:
                <asp:TextBox ID="wmnameTextBox" runat="server" Text='<%# Bind("wmname") %>' />
                    <br />
                    <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True"
                        CommandName="Insert" Text="插入" />
                    &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server"
                        CausesValidation="False" CommandName="Cancel" Text="取消" />
                </InsertItemTemplate>
                <ItemTemplate>
                    <table style="width: 100%; font-size: 14px;">
                        <tr>
                            <td colspan="2">
                                <table style="width: 548px">
                                    <tr>
                                        <td colspan="3" style="height: 2px">
                                            <table style="font-size: 16px; font-weight: 600; width: 539px; color: #1aa4e2; border-bottom: 1px solid #dddddd;">
                                                <tr>
                                                    <td style="width: 100px; height: 5px">招聘会简介</td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 105px; height: 21px; text-align: right">招聘会名称：</td>
                                        <td style="height: 21px; width: 411px;">
                                            <asp:Label ID="wmititleLabel" runat="server"
                                                Text='<%# Bind("wmititle") %>' Width="230px" /></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 105px; text-align: right">举办城市：</td>
                                        <td style="width: 411px">
                                            <asp:Label ID="wmiaddLabel" runat="server" Text='<%# Bind("wmiadd") %>' /></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 105px; text-align: right">举办日期：</td>
                                        <td style="width: 411px">
                                            <asp:Label ID="wmidateLabel" runat="server" Text='<%# Bind("wmidate", "{0:d}") %>' />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 105px; height: 21px; text-align: right">招聘会类别：</td>
                                        <td style="height: 21px; width: 411px;">
                                            <asp:Label ID="wmnameLabel" runat="server" Text='<%# Bind("wmname") %>' />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="height: 109px">
                                            <div style=" margin-left: 20px;">
                                                <asp:Label ID="wmiinfoLabel" runat="server" Text='<%# Bind("wmiinfo") %>' />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                    </table>
                    <br />
                </ItemTemplate>
            </asp:FormView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                SelectCommand="SELECT WantMeetInfo.wmiid, WantMeetInfo.wmititle, WantMeetInfo.wmiadd, WantMeetInfo.wmid, WantMeetInfo.wmiinfo, WantMeetInfo.wmidate, WantMeetClass.wmname FROM WantMeetInfo INNER JOIN WantMeetClass ON WantMeetInfo.wmid = WantMeetClass.wmid WHERE (WantMeetInfo.wmiid = @wmiid)">
                <SelectParameters>
                    <asp:QueryStringParameter Name="wmiid" QueryStringField="wmid" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>

        </div>
    </form>
</body>
</html>
